<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="__BOOTSTRAP__/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__BOOTSTRAP__/css/bootstrap-theme.min.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/msg.css"/>


    <script type="text/javascript" src="__JS__/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="__BOOTSTRAP__/js/bootstrap.min.js"></script>

    <script type="javascript">
        $('#myTab a').click(function (e) {
            e.preventDefault()
            $(this).tab('show')
        })
    </script>
    <style>
        .head{
            margin-top: 15px;
        }
        .head .title{
            margin-left: 476px;
        }
        .head .title>span{
            font-size: 25px;
        }
        .head .user{
            margin-left: 410px;
        }
        .content{
              border: 1px solid #cccccc;
              margin: 10px auto;
              width: 80%;
              height: 400px;
              background-color: rgba(103, 241, 250, 0.24);
        }
        .content .neirong{
            padding: 10px;
        }
    </style>
</head>
<body>

<div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs" id="table">
    <ul id="myTab" class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active"><a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">{$title}</a></li>
    </ul>
    <div id="myTabContent" class="tab-content home">
        <div role="tabpanel" class="tab-pane fade in active" id="home" aria-labelledBy="home-tab">
            <div class="head">
                <div class="title"><span>{$title}</span></div>
                <div class="user">
                    作者：<span>{$user}</span>
                    发布日期：<span>{$date|date="Y-m-d",###}</span>
                </div>
            </div>
            <div  class="content">
                <div class="neirong">{$content|htmlspecialchars_decode}</div>
            </div>

        </div>

    </div>
</div>

</body>
</html>